<template>
<span class='text'>
    {{data}}
</span>
</template>

<script lang='ts'>
import {Component, Vue, Prop} from 'vue-property-decorator';


@Component
export default class Topbar extends Vue{
    @Prop()
    data?: string
}


</script>

<style scoped lang='less'>

.text{ 
    display: block;
    padding: 10*@rem 30*@rem;
    color: @mainColor;
}

</style>